package com.gopay.common.riskcontrol.dao;

import com.gopay.common.base.dao.BaseReadDAO;
import com.gopay.common.domain.riskcontrol.RcQuickpayModelSwitch;

/**
 * @author gaocl
 * 风控快捷支付风险模型开关查询Dao
 * Created by gaocl on 2017/11/17.
 */
public interface RcQuickpayModelSwitchQueryDao extends BaseReadDAO<RcQuickpayModelSwitch,String> {
    /**
     * 根据模型类型查询模型开关
     * @param modelType
     * @return
     */
    RcQuickpayModelSwitch findQuickPayModelSwitch(String modelType);

    /**
     * 根据模型类型、状态查询模型开关
     * @param modelType
     * @param stat
     * @return
     */
    RcQuickpayModelSwitch getQuickPayModelByStat(String modelType,String stat);
}
